package by.pavlyukevich.paymentsystem.datamodel.payment;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;

import by.pavlyukevich.paymentsystem.datamodel.AbstractEntity;

@Entity
public class Period extends AbstractEntity<Integer> {

	@Column
	private Date periodBegin;

	@Column
	private Date periodEnd;

	public Date getPeriodBegin() {
		return periodBegin;
	}

	public void setPeriodBegin(Date periodBegin) {
		this.periodBegin = periodBegin;
	}

	public Date getPeriodEnd() {
		return periodEnd;
	}

	public void setPeriodEnd(Date periodEnd) {
		this.periodEnd = periodEnd;
	}

}
